class BootStrap {

    def topicMsgThreadService
    def init = { servletContext ->
        try {
            print "监听即将启动........."
            topicMsgThreadService.setMsgName("jms.topic.APS.EAP2PDA")
            topicMsgThreadService.start()
        }catch (Exception e){
            print "监听启动异常........."
        }

    }
    def destroy = {

    }
}
